package com.dreem.adapter.interfaceadapter;

/**
 * @program: DesignParrtern
 * @description:
 * @author: Peng
 * @create: 2021-01-30  11:54
 **/
public abstract class AbsAdapter implements IAbsAdapter {
    protected int sourceV = 220;
    @Override
    public int voltage5V() {
        return 0;
    }

    @Override
    public int voltage4V() {
        return 0;
    }

    @Override
    public int voltage3V() {
        return 0;
    }

    @Override
    public int voltage2V() {
        return 0;
    }

    @Override
    public int voltage1V() {
        return 0;
    }

    public void setSourceV(int sourceV) {
        this.sourceV = sourceV;
    }
}
